From: Adel Gadllah Date: Thu, 20 Oct 2011 20:40:22 +0000 (+0200) Subject: Small coding style fixes X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7396 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=668920cec423aca5d367976cf243762a898a8391;p=gnome-shell.git Small coding style fixes --- diff --git a/js/ui/modalDialog.js b/js/ui/modalDialog.js index faea99599..c2f3b3982 100644 --- a/js/ui/modalDialog.js +++ b/js/ui/modalDialog.js @@ -110,7 +110,7 @@ ModalDialog.prototype = { this._buttonLayout.destroy_children(); this._actionKeys = {}; - for (let i = 0; i < buttons.length; i ++) { + for (let i = 0; i < buttons.length; i++) { let buttonInfo = buttons[i]; let label = buttonInfo['label']; let action = buttonInfo['action']; diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js index e9eb3ad96..695a12b76 100644 --- a/js/ui/telepathyClient.js +++ b/js/ui/telepathyClient.js @@ -900,7 +900,7 @@ ChatNotification.prototype = { } let groups = this._contentArea.get_children(); - for (let i = 0; i < groups.length; i ++) { + for (let i = 0; i < groups.length; i++) { let group = groups[i]; if (group.get_children().length == 0) group.destroy(); @@ -938,7 +938,7 @@ ChatNotification.prototype = { let body = highlighter.actor; let styles = props.styles; - for (let i = 0; i < styles.length; i ++) + for (let i = 0; i < styles.length; i++) body.add_style_class_name(styles[i]); let group = props.group;